import request from '@/utils/request'

export function fetchList(data) {
  return request({
    url: '/api/v1/user/getPagingList',
    method: 'post',
    data
  })
}

export function exprotList(data) {
  return request({
    url: '/api/v1/user/getList',
    method: 'post',
    data
  })
}

export function getUserinfo(data) {
  return request({
    url: '/api/v1/user/userinfo',
    method: 'post',
    data
  })
}

export function editStatus(data) {
  return request({
    url: '/api/v1/user/editStatus',
    method: 'post',
    data
  })
}

export function review(data) {
  return request({
    url: '/api/v1/user/review',
    method: 'post',
    data
  })
}

export function groupList() {
  return request({
    url: '/api/v1/user/groupList',
    method: 'get'
  })
}

export function store(data) {
  return request({
    url: '/api/v1/user/store',
    method: 'post',
    data
  })
}
